home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJBSN116.ARJ / MAKEFILE.N < prev    next >
Text File  |  1992-04-08  |  1KB  |  49 lines

  1. # This file is generated from maketmpl by mm.c
  2. # This is file Maketmpl
  3. #
  4. # Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  5. #
  6. # This file is distributed under the terms listed in the document
  7. # "copying.dj", available from DJ Delorie at the address above.
  8. # A copy of "copying.dj" should accompany this file; if not, a copy
  9. # should be available from where this file was obtained.  This file
  10. # may not be distributed without a verbatim copy of "copying.dj".
  11. #
  12. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  13. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15.  
  16. # History:4,12
  17. # Makefile for libbison.a
  18. #
  19. # This makefile is set up for use with NDMAKE
  20. #
  21.  
  22. VPATH=.;src
  23.  
  24. ENDOFLIST=
  25.  
  26. CFLAGS = -O
  27.  
  28. LIB=..\..\lib
  29.  
  30. .S.o :
  31.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  32.  
  33. .c.o :
  34.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  35.  
  36. .cc.o :
  37.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  38.  
  39. OBJS = \
  40.     $(ODIR)/main.o \
  41.     $(ODIR)/yyerror.o \
  42.     $(ODIR)/yylex.o \
  43.     $(ENDOFLIST)
  44.  
  45. $(LIB)\libbison$(PS).a : $(OBJS)
  46.     -del $@
  47.     @>lib$(PS).rf $(OBJS)
  48.     ar rs $@ @lib$(PS).rf
  49.